#ifndef MYNRF24_H_INCLUDED
#define MYNRF24_H_INCLUDED

/*
 * The number of bytes the NRF24L01 RX FIFO is going to hold
 * This can be 32 bytes MAX
 */
#define NRF_FIFO_BYTES 32
#define NRF_BUF_SIZE 128

void startNRF24(void);

// Interrupt

void NRFReportIRQ(void);

// Calls

void NRFSendData(uint8_t *outBuf);
void NRF_setRxThread(Thread * r);

// Commands

void cmd_nrf_check(BaseSequentialStream *chp, int argc, char *argv[]);
void cmd_nrf_wr(BaseSequentialStream *chp, int argc, char *argv[]);

#endif // MYNRF24_H_INCLUDED
